
import request from '@/utils/request';
import { stringify } from 'qs';


//获取店铺顶部展示统计信息
export async function getStatic(params) {
  return request(`/blade-order/order/statistics`);
}

//获取近5天销售趋势
export async function getSalesTrends(params) {
  return request(`/blade-order/order/salesTrends`);
}

//数据看板
export async function getDataBoardOp() {
  return request(`/zjf-oms/homePage/statistics`,{
    method:'post'
  });
}

//公告查询
export async function getNoticeOp() {
  return request(`/zjf-erp-system/articleinformation/queryNotice`);
}

//文章分页列表
export async function getTableListOp(params) {
  return request(`/zjf-erp-system/articleinformation/articlePage`, {
    method: 'POST',
    data: params,
  });
}

//文章详情
export async function getarticleDetailOp(params) {
  return request(`/zjf-erp-system/articleinformation/articleDetail?${stringify(params)}`);
}

//抖音大促活动
export async function dyLarge() {
  return request(`/blade-goods/ecstore/dyLarge`);
}

